package com.dc.ebond3.dao;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * TbMasteraccount entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class TbMasteraccount implements java.io.Serializable {

	// Fields

	private Long id;
	private String mastername;
	private String password;
	private String department;
	private String telephone;
	private String email;
	private String address;
	private Date createdate;
	private Long inuse;
	private Set tbAuthorizations = new HashSet(0);

	// Constructors

	/** default constructor */
	public TbMasteraccount() {
	}

	/** minimal constructor */
	public TbMasteraccount(String mastername, String password,
			String department, Date createdate) {
		this.mastername = mastername;
		this.password = password;
		this.department = department;
		this.createdate = createdate;
	}

	/** full constructor */
	public TbMasteraccount(String mastername, String password,
			String department, String telephone, String email, String address,
			Date createdate, Long inuse, Set tbAuthorizations) {
		this.mastername = mastername;
		this.password = password;
		this.department = department;
		this.telephone = telephone;
		this.email = email;
		this.address = address;
		this.createdate = createdate;
		this.inuse = inuse;
		this.tbAuthorizations = tbAuthorizations;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getMastername() {
		return this.mastername;
	}

	public void setMastername(String mastername) {
		this.mastername = mastername;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getDepartment() {
		return this.department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}

	public String getTelephone() {
		return this.telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Date getCreatedate() {
		return this.createdate;
	}

	public void setCreatedate(Date createdate) {
		this.createdate = createdate;
	}

	public Long getInuse() {
		return this.inuse;
	}

	public void setInuse(Long inuse) {
		this.inuse = inuse;
	}

	public Set getTbAuthorizations() {
		return this.tbAuthorizations;
	}

	public void setTbAuthorizations(Set tbAuthorizations) {
		this.tbAuthorizations = tbAuthorizations;
	}

}